package pso.velocity;

public class ClassicVelocityUpdateStrategy extends
		AbstractVelocityUpdateStrategy {

	public ClassicVelocityUpdateStrategy() {
	}

	public ClassicVelocityUpdateStrategy(double maximumVelocity) {
		this.maximumVelocity = maximumVelocity;
	}

	@Override
	public double calculateNewVelocity(double currentVelocity,
			double cognitivePart, double socialPart) {
		double newVelocity = currentVelocity + cognitivePart + socialPart;
		return newVelocity;
	}
}
